Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-219544 | OL6-00-000013 | SV-219544r505921_rule | Medium |
Description |
---|
Ensuring the validity of packages' cryptographic signatures prior to installation ensures the provenance of the software and protects against malicious tampering. |
STIG | Date |
---|---|
Oracle Linux 6 Security Technical Implementation Guide | 2020-09-10 |
Check Text ( C-21269r358172_chk ) |
---|
To determine whether "yum" is configured to use "gpgcheck", inspect "/etc/yum.conf" and ensure the following appears in the "[main]" section: gpgcheck=1 A value of "1" indicates that "gpgcheck" is enabled. Absence of a "gpgcheck" line or a setting of "0" indicates that it is disabled. If GPG checking is not enabled, this is a finding. If the "yum" system package management tool is not used to update the system, verify with the SA that installed packages are cryptographically signed. |
Fix Text (F-21268r358173_fix) |
---|
The "gpgcheck" option should be used to ensure checking of an RPM package's signature always occurs prior to its installation. To configure yum to check package signatures before installing them, ensure the following line appears in "/etc/yum.conf" in the "[main]" section: gpgcheck=1 |